/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.poll.video.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.hopes.bizz.poll.common.constant.enums.PollSysDictEnum;
import com.hopes.boss.admin.api.resolver.DictResolver;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * NVR设备
 *
 * @author cx
 * @date 2023-09-19 18:54:51
 */
@Data
@TableName("poll_vd_device_nvr")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "NVR设备")
public class PollVdDeviceNvrEntity extends Model<PollVdDeviceNvrEntity> {

    private static final long serialVersionUID = 1L;


	/**
	* 标识
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="标识")
    private Long id;

	/**
	* 企业标识
	*/
    @Schema(description="企业标识")
    private Long companyId;

	/**
	* 名称
	*/
    @Schema(description="名称")
    private String name;

	/**
	* IP
	*/
    @Schema(description="IP")
    private String ip;

	/**
	* 端口
	*/
    @Schema(description="端口")
    private String port;

	/**
	* 设备厂家
	*/
    @Schema(description="设备厂家")
    private Integer deviceBrand;

	/**
	* 备注
	*/
    @Schema(description="备注")
    private String remarks;

	/**
	* 账号
	*/
    @Schema(description="账号")
    private String account;

	/**
	* 密码
	*/
    @Schema(description="密码")
    private String password;

	/**
	* 机构ID
	*/
    @Schema(description="机构ID")
    private Long orgId;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;
 
	/**
	* updateBy
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="updateBy")
    private String updateBy;
 
	/**
	* createTime
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="createTime")
    private LocalDateTime createTime;
 
	/**
	* updateTime
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="updateTime")
    private LocalDateTime updateTime;

	/**
	* 删除标记，0未删除，1已删除
	*/
    @TableLogic
    @Schema(description="删除标记，0未删除，1已删除")
    private String delFlag;
 
	/**
	* tenantId
	*/
    @Schema(description="tenantId")
    private Long tenantId;


}